home *** CD-ROM | disk | FTP | other *** search
-
- Support for NeXT shared libraries added by Edward Jung This involved
- changing the makefile to use -lsys_s, and the sources to use/declare
- arc_abort() instead of abort(), which is in the shared lib.
-
- Greetings,
- herein you should be pleased to find the complete sources for the
- latest and greatest version of ARC, based on the sources for version 5.20
- of the MSDOS ARC program. The patches to the previous release, 5.12, with
- squashing algorithm, have also been applied here. The code is known to
- work on a Sun 3 running SunOS 3.4, Apollo DN3000 running SR9.7 DOMAIN/IX,
- Vax 750 running 4.3BSD, and IBM 3090 running MTS. I shall probably begin
- porting to my Atari ST in a few days as well...
- Also included is a detailed description of the format of a .ARC
- file directory entry, in the file named Arcinfo. Could be useful if you're
- trying to port ARC to any more esoteric systems...
- One final necessary inclusion: sources for libtws.a, which was
- posted a long time ago to mod.sources as part of a package he called
- "phoon" - a program that calculated and displayed the PHase of the mOON.
- The only thing I use the time routines for here is to convert an expanded
- date/time back into a Unix style time value, for keeping file modification
- times straight.
- I have not written a man page; if you need docs for this program,
- see the docs for ARC 5.20 on a PC. Operation is pretty much identical,
- except as noted below.
-
- A necessary legal note: ARC is copywritten by Systems Enhancement
- Associates. You may freely distribute the ARC program as long as you do not
- charge for distribution. The comments in the code indicate that the program
- is intended to be distributed in unmodified form (i.e., lots of people will
- get very angry at you if you rewrite a banner to claim that you wrote the
- program, or if you do something vile like insert a virus.). This is a moot
- point, really, since the sources were made public by the SEA folk to allow
- (heck, encourage!) other people to use and modify the code. (The point is
- moot only in this context - I'm not distributing binary executables...)
- Ordinarily, if you liked this program, you'd send a registration fee to SEA
- and they'd promise to give you technical support. The registration form is
- included here, at the end of the doc file. I suppose you can send them your
- money if you want, after using this code. I don't see why, though, since
- they didn't write the non-MSDOS code, and probably won't provide any
- support for it. (Actually, I suppose it would be very easy for them to pick
- this up and then offer to support non-MSDOS users. Whatever...) In any case,
- They didn't write all of what you're about to see, and neither did I, but I
- suspect neither the SEA folk, myself, or any of the many others who have
- invested time in this program would appreciate it much if you were to charge
- anything for distributing this code. neuf'o'dix.
-
- Things to note - if you specify the "q" (use squashing) option, ARC will
- not bother trying the other compression methods at all. This may or may
- not be desirable. (A small speed gain, but Squashing isn't always better
- than Crunching...) Also, as of version 5.20, ARC no longer uses the Huffman
- Squeeze algorithm for compression. This is also a speed gain, since it no
- longer spends time performing 3 different compression methods simultaneously
- and choose the best. (Now it only tries two at most.)
-
- Another thing - this version, unlike for MSDOS, distinguishes between text
- and binary files. The default is text, which will strip CRs from files
- upon extraction, and will insert them before LFs upon storage. Should make
- sending text files between machines a little less painful than before.
- (On a 370 machine it also translates from and to ASCII/EBCDIC, so all
- files are stored internally in an MSDOS usable format, i.e, ASCII text,
- CR/LF line terminator...)
-
- To compile all this stuff... Edit Make.tws (shouldn't need to change anything
- here, really.) Edit arc.h. I've never run this on a pure System V Unix, so
- I can't say how it'll behave, but it should still compile with BSD defined.
- After that, just type make and wait a while... Ok... Well, I've had this
- for a while, and it works for me, but if somehow I've goofed, let me know.
-
- /
- /_ , ,_. Howard Chu
- / /(_/(__ University of Michigan
- / Computing Center College of LS&A
- ' Unix Project Information Systems
-